package com.moment.eyepetizer.home.mvp

import com.cn.maimeng.news.base.BasePresenter
import com.cn.maimeng.news.base.BaseView
import com.moment.eyepetizer.net.entity.Result
import io.reactivex.disposables.Disposable

/**
 * Created by moment on 2018/2/11.
 */

interface CategoryTabListContract {
    interface CategoriesTagListPresenter : BasePresenter {
        fun categoriesTagList(path: String, map: HashMap<String, String>): Disposable
    }

    interface CategoriesTagListView : BaseView<CategoriesTagListPresenter> {
        fun onCategoriesTagSucc(result: Result)
        fun onCategoriesTagFail(error: Throwable?)
    }
}